package com.fruits.domain;

public class User {
    //id
    private int id;
    //邮箱
    private String email;
    //手机
    private String phone;
    //密码
    private String pwd;
    //用户名
    private String uname;

    public User() {
    }

    public User(String email, String phone, String pwd) {
        this.email = email;
        this.phone = phone;
        this.pwd = pwd;
    }
    public User(int id) {
        this.id=id;
    }
    public User(int id, String email, String phone, String pwd, String uname) {
        this.email = email;
        this.phone = phone;
        this.pwd = pwd;
        this.uname = uname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }
}
